package com.jd.finance.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 后台账号申请表
 * </p>
 *
 * @author LiQingBo
 * @since 2022-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AdminApply对象", description = "后台账号申请表")
public class AdminApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "后台账号申请id")
    @TableId(value = "admin_apply_id", type = IdType.AUTO)
    private Integer adminApplyId;

    @ApiModelProperty(value = "用户手机号")
    private String userPhone;

    @ApiModelProperty(value = "用户密码")
    private String userPassword;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户合同图片路径")
    private String userConUrl;

    @ApiModelProperty(value = "用户合同信息")
    private String userConInfo;

    @ApiModelProperty(value = "后台账号审核状态 0:待审核  1:通过 2:未通过")
    private String adminApplyStatus;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
